package bookManageSystem.service;

import bookManageSystem.dao.EmployeeDAO;
import bookManageSystem.dao.OrderDAO;
import bookManageSystem.po.Order;

import java.util.List;

public class OrderService {
    private OrderDAO orderDAO = new OrderDAO();
    public boolean addOrder(Order order) {
        return orderDAO.addOrder(order);
    }

    public List<Order> selectOrder() {
        return orderDAO.selectOrder();
    }
}
